//
//  CustomCollectionHeader.m
//  PigMarket
//
//  Created by 张敬 on 2019/8/1.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import "CustomCollectionSection.h"

@implementation CustomCollectionSection

- (UILabel *)label{
    
    if (!_label) {
        _label = [UILabel makeLabelWithText:@"" textColor:mMainTextColor font:mFont(14) textAliment:0];
        _label.backgroundColor = KWhiteColor;
        
        _label.size = CGSizeMake(KScreenWidth - 30, 20);
        _label.mj_y = 20;
        _label.mj_x = 15;
    
        [self addSubview:self.label];
    }
    return _label;
}


@end
